<?php $this->import('Header') ?>
	<div style="height: 10px;"></div>
	<h4>添加标签</h4>
	<div class="well">
		<div id="message-box"></div>
		<form method="post">
			<input type="hidden" name="tagId" value="<?php echo isset($tagInfo['TagId']) ? $tagInfo['TagId'] : 0 ?>" />
			<div id="account-div" class="tab-content">
				<div class="tab-pane active in">
					<label>标签名称</label>
					<input type="text" name="tagName" class="input-xlarge" value="<?php echo isset($tagInfo['TagName']) ? $tagInfo['TagName'] : '' ?>">
					<label>排序</label>
					<input type="number" name="sort" value="<?php echo isset($tagInfo['Sort']) ? $tagInfo['Sort'] : 0 ?>" class="input-xlarge">
					<label>是否热门标签</label>
					<select name="isHot" class="input-xlarge">
						<option value="0">否</option>
						<option value="1" <?php echo !empty($tagInfo['IsHot']) ? 'selected' : ''; ?>>是</option>
					</select>
				</div>
			</div>
			<div class="btn-toolbar">
				<button type="submit" class="btn btn-primary"><i class="icon-save"></i>
					<?php
						echo !empty($tagInfo['TagId']) ? '修改' : '添加';
					?>
				</button>
				<button type="reset" class="btn">重置</button>
			</div>
		</form>
	</div>
<?php $this->import('Footer') ?>